<?php
namespace Tbf\Bundle\JpushBundle;
class JpushManagerMock implements JpushManagerInterface
{
    protected $action = array();
    public function sendToAllSimple($send_no, $content)
    {
        $this->action[] = array(
            'name'=>'sendToAllSimple',
            'send_no'=>$send_no,
            'content'=>$content,
        );

        return null;
    }

    public function send(Message $m)
    {
        $this->action[] = array(
            'name'=>'send',
            'm'=>$m
        );

        return null;
    }
    public function getAllAction()
    {
        return $this->action;
    }
}
